void-packages/srcpkgs/msmtp/template
Randy McCaskill ec3cef1184 msmtp: update to 1.8.11
Also enable idn and sasl by default, now.
Their footprint is not that big.

Closes: #22566
2020-06-05 21:53:46 +07:00

29 lines
855 B
Bash

# Template file for 'msmtp'
pkgname=msmtp
version=1.8.11
revision=1
build_style=gnu-configure
configure_args="$(vopt_with msmtpd)
$(vopt_with idn libidn)
$(vopt_with sasl libgsasl)
$(vopt_with gnome libsecret)"
hostmakedepends="pkg-config"
makedepends="gnutls-devel
$(vopt_if idn libidn2-devel)
$(vopt_if sasl gsasl-devel)
$(vopt_if gnome libsecret-devel)"
short_desc="Mini SMTP client"
maintainer="Peter Bui <pbui@github.bx612.space>"
license="GPL-3.0-or-later"
homepage="https://marlam.de/msmtp/"
distfiles="https://marlam.de/msmtp/releases/msmtp-${version}.tar.xz"
checksum=f25f0fa177ce9e0ad65c127e790a37f35fb64fee9e33d90345844c5c86780e60
build_options="idn sasl gnome msmtpd"
build_options_default="idn sasl"
desc_option_msmtpd="Build minimal SMTP server"
post_install() {
vsconf doc/msmtprc-system.example
vsconf doc/msmtprc-user.example
}