void-packages/srcpkgs/msmtp/template
Anthony Iliopoulos 0e060c0289 msmtp: update to 1.8.12.
Closes: #24563 [via git-merge-pr]
2020-08-30 23:40:34 -04:00

29 lines
855 B
Bash

# Template file for 'msmtp'
pkgname=msmtp
version=1.8.12
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=a86fef9477339923afefe974988a38e32d0feb90dfeeb88f7f55aac356a96354
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
}