# Maintainer: Markus M. May <triplem@tu.archserver.org>
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=gnutls
pkgver=2.10.5
pkgrel=1
pkgdesc="A library which provides a secure layer over a reliable transport layer"
arch=(i686 x86_64)
license=('GPL3' 'LGPL')
url="http://www.gnu.org/software/gnutls/"
install=gnutls.install
options=('libtool')
depends=('gcc-libs>=4.4.2' 'libtasn1>=2.2' 'readline>=6.0' 'zlib' 'libgcrypt>=1.4.4' 'texinfo')
source=(ftp://ftp.gnu.org/gnu/gnutls/${pkgname}-${pkgver}.tar.bz2)
md5sums=('1b032e07ccd22f71a5df78aa73bd91f2')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --with-zlib --disable-guile
  make
  make DESTDIR="${pkgdir}" install
}
