void-packages/srcpkgs/msmtp/template
2019-04-26 22:45:53 +02:00

28 lines
817 B
Bash

# Template file for 'msmtp'
pkgname=msmtp
version=1.8.4
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="Juan RP <xtraeme@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://marlam.de/msmtp/"
distfiles="https://marlam.de/msmtp/releases/msmtp-${version}.tar.xz"
checksum=e5dd7fe95bc8e2f5eea3e4894ec9628252f30bd700a7fd1a568b10efa91129f7
build_options="idn sasl gnome msmtpd"
desc_option_msmtpd="Build minimal SMTP server"
post_install() {
vsconf doc/msmtprc-system.example
vsconf doc/msmtprc-user.example
}