3d65582076
We used to have mutt alternative, provided by neomutt.
However, from commit edb9bbd0f3
, ("neomutt: update to 20171013.",
2017-10-17) neomutt is no longger mutt.
Drop this alternative, so users can have better autocomplete,
let's say by: man 5 mutt<tab> and we can have simpler template.
Signed-off-by: Doan Tran Cong Danh <congdanhqx@gmail.com>
35 lines
1.3 KiB
Bash
35 lines
1.3 KiB
Bash
# Template file for 'mutt'
|
|
pkgname=mutt
|
|
version=1.12.1
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--enable-pop --enable-imap --enable-smtp --enable-hcache
|
|
--enable-gpgme --with-regex --with-idn2 --with-ssl --with-sasl --enable-sidebar
|
|
--with-gpgme-prefix=${XBPS_CROSS_BASE}/usr --sysconfdir=/etc/$pkgname
|
|
--with-gdbm=${XBPS_CROSS_BASE}/usr mutt_cv_regex_broken=no"
|
|
conf_files="/etc/${pkgname}/Muttrc"
|
|
hostmakedepends="libidn2-devel perl pkg-config"
|
|
makedepends="gdbm-devel gpgme-devel libidn2-devel libressl-devel libsasl-devel
|
|
ncurses-devel"
|
|
depends="mime-types"
|
|
short_desc="Mutt Mail Client"
|
|
maintainer="Jan S. <jan.schreib@gmail.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://www.mutt.org"
|
|
changelog="http://mutt.org/relnotes/1.12"
|
|
distfiles="http://ftp.mutt.org/pub/mutt/${pkgname}-${version}.tar.gz"
|
|
checksum=01c565406ec4ffa85db90b45ece2260b25fac3646cc063bbc20a242c6ed4210c
|
|
|
|
pre_build() {
|
|
make CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS -fPIC" CPPFLAGS= mutt_md5
|
|
make CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS -fPIC" CPPFLAGS= -C doc
|
|
}
|
|
|
|
post_install() {
|
|
# provided by mime-types
|
|
rm "${DESTDIR}"/etc/$pkgname/mime.*
|
|
ln -s /etc/mime.types "${DESTDIR}/etc/${pkgname}/mime.types"
|
|
# move dist to examples dir
|
|
vsconf contrib/gpg.rc Muttrc.gpg.dist
|
|
mv "${DESTDIR}/etc/$pkgname/Muttrc.dist" "${DESTDIR}/usr/share/examples/${pkgname}"
|
|
}
|