# $Id: PKGBUILD 87326 2010-08-12 11:59:25Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=libassuan
pkgver=2.0.1
pkgrel=1
pkgdesc="A IPC library used by some GnuPG related software"
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.gnupg.org/related_software/libassuan"
depends=('libgpg-error')
options=('!libtool')
source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2)

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
}
md5sums=('53a7d4c22af909d7236d17d454ef935b')