# Contributor: Malte Voos <malte@malvo.org>
# Maintainer: Malte Voos <malte@malvo.org>
pkgname=libopensmtpd
pkgver=0.7
pkgrel=0
pkgdesc="Library for creating OpenSMTPD filters"
url="http://imperialat.at/dev/libopensmtpd/"
arch="all"
license="ISC"
makedepends="libevent-dev mandoc"
options="!check" # no test suite
subpackages="$pkgname-dev $pkgname-doc"
source="http://imperialat.at/releases/libopensmtpd-$pkgver.tar.gz"

build() {
	make -f Makefile.gnu
}

package() {
	make -f Makefile.gnu DESTDIR="$pkgdir" install
}

sha512sums="
53153eea5ed85309434316fa9bbba032aba9cac30744a6c228892b5fdf67f9df7e05c25832f16845c603892a255dfcf67d432e2a43ec6228f3103cf92ba2394f  libopensmtpd-0.7.tar.gz
"
