updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / mutt-slang / PKGBUILD
blob6c4316ef99150bb50d349e27b68ee5f394bd1b41
1 # Maintainer: andreas_baumann <abaumann at yahoo dot com>
3 pkgname=mutt-slang
4 pkgver=1.5.21
5 pkgrel=2
6 pkgdesc='Small but very powerful text-based mail client. Using slang insteand of ncurses'
7 url='http://www.mutt.org/'
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 provides=(mutt)
11 depends=('gpgme' 'slang' 'openssl' 'libsasl' 'gdbm' 'libidn' 'mime-types')
12 source=("ftp://ftp.mutt.org/mutt/devel/mutt-${pkgver}.tar.gz")
13 sha1sums=('a8475f2618ce5d5d33bff85c0affdf21ab1d76b9')
15 install=install
17 build() {
18         cd "${srcdir}/mutt-${pkgver}"
19         ./configure \
20                 --prefix=/usr \
21                 --sysconfdir=/etc \
22                 --enable-gpgme \
23                 --enable-pop \
24                 --enable-imap \
25                 --enable-smtp \
26                 --enable-hcache \
27                 --with-slang=/usr \
28                 --with-regex \
29                 --with-ssl=/usr \
30                 --with-sasl \
31                 --with-idn \
33         make
36 package() {
37         cd "${srcdir}/mutt-${pkgver}"
38         make DESTDIR="${pkgdir}" install
40         rm "${pkgdir}"/usr/bin/{flea,muttbug}
41         rm "${pkgdir}"/usr/share/man/man1/{flea,muttbug}.1
42         rm "${pkgdir}"/etc/mime.types{,.dist}
43         install -Dm644 contrib/gpg.rc "${pkgdir}"/etc/Muttrc.gpg.dist