From d58bf39b286152985820d15188e9b2c86431e52e Mon Sep 17 00:00:00 2001
From: Dominik Honnef <dominikh@fork-bomb.org>
Date: Wed, 20 Aug 2014 12:32:55 +0200
Subject: [PATCH] nzbget: build with support for parcheck

---
 srcpkgs/nzbget/template | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/nzbget/template b/srcpkgs/nzbget/template
index cec651fa165..3b965b5850c 100644
--- a/srcpkgs/nzbget/template
+++ b/srcpkgs/nzbget/template
@@ -1,15 +1,17 @@
 # Template file for 'nzbget'
 pkgname=nzbget
 version=13.0
-revision=1
+revision=2
 build_style=gnu-configure
-configure_args="--disable-parcheck --with-tlslib=OpenSSL
+configure_args="--with-tlslib=OpenSSL
  --with-libcurses-includes=${XBPS_CROSS_BASE}/usr/include
  --with-libcurses-libraries=${XBPS_CROSS_BASE}/usr/lib
  --with-zlib-includes=${XBPS_CROSS_BASE}/usr/include
- --with-zlib-libraries=${XBPS_CROSS_BASE}/usr/lib"
+ --with-zlib-libraries=${XBPS_CROSS_BASE}/usr/lib
+ --with-libpar2-includes=${XBPS_CROSS_BASE}/usr/include
+ --with-libpar2-libraries=${XBPS_CROSS_BASE}/usr/lib"
 hostmakedepends="pkg-config"
-makedepends="libxml2-devel ncurses-devel libressl-devel"
+makedepends="libxml2-devel ncurses-devel libressl-devel libpar2-devel"
 short_desc="Download from Usenet using .nzb files"
 maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
 license="GPL-2"