# Maintainer: Natanael Copa pkgname=libetpan pkgver=1.1 pkgrel=0 pkgdesc="a portable middleware for email access" url="http://www.etpan.org/" arch="all" license="custom:etpan" subpackages="$pkgname-dev $pkgname-doc" makedepends="db-dev cyrus-sasl-dev curl-dev expat-dev openssl-dev" depends= depends_dev="cyrus-sasl-dev db-dev" source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz" build () { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr \ --with-openssl \ --disable-static make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la || return 1 install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/license.txt } md5sums="6fee60d08506e941642b8fa087e60b07 libetpan-1.1.tar.gz"