# $Id: PKGBUILD 3545 2008-06-24 17:33:25Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>

pkgname=libgcrypt
pkgver=1.4.1
pkgrel=10
pkgdesc="a general purpose crypto library based on the code used"
arch=(i686 x86_64)
url="http://www.gnupg.org"
license=('LGPL')
groups=('base')
depends=('libgpg-error>=1.6')
options=(!libtool)
source=(#ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2
	ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/libgcrypt/${pkgname}-${pkgver}.tar.bz2)
md5sums=('26703ecef4bbe113b8e6a87572b80b32')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  ./configure --prefix=/usr --disable-padlock-support
  make || return 1
  make DESTDIR=${startdir}/pkg install
}