blob: 315aaba7d8c2203faac1647d3feecf41b6c7c2a5 (
plain)
1 # Description: Text-based email client that sucks less
2 # URL: http://www.mutt.org
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: gdbm ncurses openssl zlib
5
6 name=mutt
7 version=1.9.1
8 release=1
9 source=(https://bitbucket.org/mutt/mutt/downloads/$name-$version.tar.gz)
10
11 build () {
12 cd $name-$version
13
14 sed -re '/^makedoc-all/s/manual\.(html|txt)//g' \
15 -re '/^makedoc-all/s/stamp-doc-chunked//g' -i doc/Makefile.in
16
17 ./configure --prefix=/usr \
18 --with-docdir=/usr/share/mutt \
19 --with-mailpath=/var/spool/mail \
20 --enable-pop \
21 --enable-imap \
22 --with-ssl \
23 --enable-hcache \
24 --disable-nls \
25 --enable-sidebar \
26 # --enable-gpgme \
27 # --enable-smtp --with-sasl
28
29 make
30 make DESTDIR=$PKG install
31
32 find $PKG/usr/share/mutt/* ! -name manual.txt -delete
33 rm $PKG/usr/etc/{Muttrc,mime.types}.dist
34 rm $PKG/usr/bin/{flea,muttbug}
35 rm $PKG/usr/share/man/man1/{flea.1,muttbug.1}
36 rm $PKG/usr/share/man/man5/{mmdf.5,mbox.5}
37 }
|