1 # Maintainer: TDY <tdy@gmx.com>
6 pkgdesc="A console mail user agent based on libetpan"
8 url="http://www.etpan.org/etpan/"
10 depends=('libetpan>=0.42' 'libldap')
12 optdepends=('bogofilter: SPAM management'
13 'gnupg: PGP signing and encryption'
14 'openssl: S/MIME signing and encryption'
15 'perl: vtree generator script')
16 source=(http://downloads.sourceforge.net/lib$pkgname/$pkgname-ng-$pkgver.tar.gz)
17 md5sums=('c4ab9a5471d84be930809950bae9fd69')
20 cd "$srcdir/$pkgname-ng-$pkgver"
21 ./configure --prefix=/usr
26 cd "$srcdir/$pkgname-ng-$pkgver"
27 make prefix="$pkgdir/usr" install
28 install -cm755 contrib/$pkgname-make-vtree.pl "$pkgdir/usr/bin/"
29 install -Dm644 contrib/vim-syntax/etpancfg.vim \
30 "$pkgdir/usr/share/vim/syntax/etpancfg.vim"
31 install -Dm644 doc/CONFIG "$pkgdir/usr/share/doc/$pkgname/CONFIG"
32 install -Dm644 README "$pkgdir/usr/share/doc/$pkgname/README"
33 install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYING"