@@ -3956,3 +3956,34 @@ gist (https://gist.github.com/kballard/272720)")
(synopsis "A writer that wraps long text lines to a specified length")
(description "A writer that wraps long text lines to a specified length")
(license license:expat))))
+
+(define-public go-github-com-emersion-go-smtp
+ (let ((url "https://github.com/emersion/go-smtp"))
+ (package
+ (name "go-github-com-emersion-go-smtp")
+ (version "0.11.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url url)
+ (commit (string-append "v" version))))
+ (sha256
+ (base32
+ "08v7x513hxkfyihixp0cdy4cmf2j9hw1yzm7bzy5g95fai71azm0"))
+ (file-name (git-file-name name version))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/emersion/go-smtp"))
+ (native-inputs
+ `(("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)))
+ (home-page url)
+ (synopsis "An ESMTP client and server library written in Go")
+ (description "An ESMTP client and server library written in Go. It features:
+@itemize
+@item ESMTP client & server implementing RFC 532
+@item Support for SMTP AUTH and PIPELINING
+@item UTF-8 support for subject and message
+@item LMTP support
+@end itemize ")
+ (license license:expat))))