1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
| | (define-module (gnu packages msmtp)
#:use-module (gnu packages)
#:use-module (gnu packages compression)
#:use-module (gnu packages libidn)
#:use-module (gnu packages gnutls)
#:use-module (gnu packages gsasl)
#:use-module (gnu packages pkg-config)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module ((guix licenses) #:prefix license:)
)
(define-public msmtp
(package
(name "msmtp")
(version "1.4.32")
(source
(origin
(method url-fetch)
(uri (string-append "http://downloads.sourceforge.net/project/msmtp/msmtp/"
version "/msmtp-" version ".tar.bz2"))
(sha256 (base32
"122z38pv4q03w3mbnhrhg4w85a51258sfdg2ips0b6cgwz3wbw1b"))))
(build-system gnu-build-system)
(inputs
`(("libidn" ,libidn)
("gnutls" ,gnutls)
("zlib" ,zlib)
("gsasl" ,gsasl)))
(native-inputs
`(("pkg-config" ,pkg-config)))
(home-page "http://msmtp.sourceforge.net/")
(arguments
`(#:configure-flags (list "--with-libgsasl"
"--with-libidn"
"--with-ssl=gnutls")))
(synopsis
"SMTP client")
(description
"msmtp is an SMTP client. In the default mode, it transmits a mail to
an SMTP server (for example at a free mail provider) which takes care of further
delivery. To use this program with your mail user agent (MUA), create
a configuration file with your mail account(s) and tell your MUA to call
msmtp instead of /usr/sbin/sendmail.")
(license license:gpl3+)))
|