void-packages/srcpkgs/msmtp/template

31 lines
932 B
Bash

# Template file for 'msmtp'
pkgname=msmtp
version=1.8.26
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="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-or-later"
homepage="https://marlam.de/msmtp/"
changelog="https://git.marlam.de/gitweb/?p=msmtp.git;a=blob_plain;f=NEWS"
distfiles="https://marlam.de/msmtp/releases/msmtp-${version}.tar.xz"
checksum=6cfc488344cef189267e60aea481f00d4c7e2a59b53c6c659c520a4d121f66d8
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
}