#Maintainer: Thorsten Muehlfelder <thenktor@gmx.de>

pkgname=libetpan
pkgver=0.58
pkgrel=1tm
arch=i486
source=("http://surfnet.dl.sourceforge.net/project/libetpan/libetpan/$pkgver/libetpan-$pkgver.tar.gz")
sourcetemplate=http://thenktor.dyndns.org/packages/$pkgname/
url="http://www.etpan.org/libetpan"
docs=('ChangeLog' 'COPYRIGHT' 'NEWS')

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"$pkgname (libEtPan is a mail purpose library)"
"libEtPan is a mail purpose library. It will be used for low-level"
"mail handlingprotocols (IMAP/NNTP/POP3/SMTP over TCP/IP and"
"SSL/TCP/IP, already implemented), local storage (mbox/MH/maildir),"
"message / MIME parser. message / MIME parser."
)

build() {
	cd $startdir/src/${pkgname}-${pkgver}
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc \
		--disable-static
	make -j3
	make DESTDIR=$startdir/pkg install
}