32 lines
1.2 KiB
Bash
32 lines
1.2 KiB
Bash
# Template file for 'mutt'
|
|
pkgname=mutt
|
|
version=2.2.8
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-pop --enable-imap --enable-smtp --enable-hcache
|
|
--enable-gpgme --with-idn2 --with-ssl --without-sasl --with-gsasl
|
|
--enable-sidebar
|
|
--with-gpgme-prefix=${XBPS_CROSS_BASE}/usr --sysconfdir=/etc/$pkgname
|
|
--with-gdbm=${XBPS_CROSS_BASE}/usr"
|
|
conf_files="/etc/${pkgname}/Muttrc"
|
|
hostmakedepends="perl pkg-config gettext w3m"
|
|
makedepends="gdbm-devel gpgme-devel libidn2-devel openssl-devel gsasl-devel
|
|
ncurses-devel zlib-devel"
|
|
depends="mime-types"
|
|
short_desc="Mutt Mail Client"
|
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://www.mutt.org"
|
|
changelog="http://mutt.org/relnotes/${version%.*}"
|
|
distfiles="http://ftp.mutt.org/pub/mutt/${pkgname}-${version}.tar.gz"
|
|
checksum=03f3d237a2ee2a1d16336417c9a5f17b49cf7045eefea6021f0820bbf85d0a53
|
|
|
|
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}"
|
|
}
|