void-packages/srcpkgs/msmtp/template

25 lines
786 B
Bash

# Template file for 'msmtp'
pkgname=msmtp
version=1.8.1
revision=1
build_style=gnu-configure
configure_args="--with-tls=openssl $(vopt_with idn libidn)
$(vopt_with sasl libgsasl) $(vopt_with gnome libsecret)"
hostmakedepends="pkg-config"
makedepends="libressl-devel $(vopt_if idn libidn-devel)
$(vopt_if sasl gsasl-devel)
$(vopt_if gnome libsecret-devel)"
short_desc="Mini SMTP client"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3.0-or-later"
homepage="https://marlam.de/msmtp/"
distfiles="https://marlam.de/msmtp/releases/msmtp-${version}.tar.xz"
checksum=f0a2a7ed23a3ba5ca88640a9bc433507a79fdfc916b14a989d36679b7fdca4da
build_options="idn sasl gnome"
build_options_default="idn"
post_install() {
vsconf doc/msmtprc-system.example
vsconf doc/msmtprc-user.example
}