void-packages/srcpkgs/msmtp/template
2021-10-04 13:14:27 +02:00

29 lines
862 B
Bash

# Template file for 'msmtp'
pkgname=msmtp
version=1.8.17
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=0fddbe74c1a9dcf6461b4a1b0db3e4d34266184500c403d7f107ad42db4ec4d3
build_options="idn sasl gnome msmtpd"
build_options_default="idn sasl msmtpd"
desc_option_msmtpd="Build minimal SMTP server"
post_install() {
vsconf doc/msmtprc-system.example
vsconf doc/msmtprc-user.example
}