# Template build file for 'gnutls'.
pkgname=gnutls
version=2.12.18
#distfiles="ftp://ftp.gnutls.org/pub/gnutls/gnutls-$version.tar.bz2"
distfiles="http://mirror.symnds.com/software/GNU/$pkgname/$pkgname-$version.tar.bz2"
build_style=gnu-configure
configure_args="--with-lzo --with-zlib --disable-guile --with-libgcrypt"
makedepends="pkg-config zlib-devel lzo-devel readline-devel libgpg-error-devel libtasn1-devel libgcrypt-devel p11-kit-devel"
revision=1
short_desc="GNU Transport Layer Security library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/gnutls/"
license="GPL-3, LGPL-2.1"
checksum=780b12e3f05191316390611a3d9d982d29ca3f3abc234517b2fc542064b6f07a
long_desc="
 GnuTLS is a portable ANSI C based library which implements the TLS 1.0 and
 SSL 3.0 protocols. The library does not include any patented algorithms and
 is available under the GNU Lesser GPL license.

 Important features of the GnuTLS library include:
  - Thread safety
  - Support for both TLS 1.0 and SSL 3.0 protocols
  - Support for both X.509 and OpenPGP certificates
  - Support for basic parsing and verification of certificates
  - Support for SRP for TLS authentication
  - Support for TLS Extension mechanism
  - Support for TLS Compression Methods

 Additionally GnuTLS provides an emulation API for the widely used OpenSSL
 library, to ease integration with existing applications."

subpackages="$pkgname-devel $pkgname-tools"

