2006-02-23 15:26:10 +00:00
|
|
|
# Description: Text-based email client that sucks less
|
2021-03-07 10:44:10 +01:00
|
|
|
# URL: http://www.mutt.org
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
# Depends on: gdbm openssl zlib
|
2021-08-26 13:57:30 +02:00
|
|
|
# Optional: cyrus-sasl gpgme
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=mutt
|
2022-02-14 13:28:46 +01:00
|
|
|
version=2.2.0
|
2016-07-26 14:34:36 +02:00
|
|
|
release=1
|
2015-09-03 17:28:59 +02:00
|
|
|
source=(https://bitbucket.org/mutt/mutt/downloads/$name-$version.tar.gz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2021-08-26 13:57:30 +02:00
|
|
|
build() {
|
2021-03-07 10:44:10 +01:00
|
|
|
cd $name-$version
|
2007-04-10 16:51:38 +02:00
|
|
|
|
2021-08-26 13:57:30 +02:00
|
|
|
prt-get isinst gpgme && PKGMK_MUTT+=' --enable-gpgme'
|
|
|
|
prt-get isinst cyrus-sasl && PKGMK_MUTT+=' --enable-smtp --with-sasl'
|
|
|
|
|
|
|
|
./configure $PKGMK_MUTT \
|
2021-03-07 10:44:10 +01:00
|
|
|
--prefix=/usr \
|
|
|
|
--with-mailpath=/var/spool/mail \
|
|
|
|
--enable-pop \
|
|
|
|
--enable-imap \
|
|
|
|
--enable-hcache \
|
|
|
|
--enable-sidebar \
|
2021-08-26 13:57:30 +02:00
|
|
|
--disable-nls \
|
|
|
|
--with-ssl
|
2007-04-10 16:51:38 +02:00
|
|
|
|
2021-03-07 10:44:10 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2007-04-10 16:51:38 +02:00
|
|
|
|
2021-03-07 10:44:10 +01:00
|
|
|
rm $PKG/usr/etc/{Muttrc,mime.types}.dist
|
|
|
|
rm -r $PKG/usr/share/{doc,info}
|
|
|
|
rm $PKG/usr/share/man/man5/{mmdf.5,mbox.5}
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|