Subject: [bug#39129] [PATCH] gnu: mutt: Enable Autocrypt support.

From: Ivan Vilata i Balaguer <[email-masked]>
Date: Mon, 13 Jan 2020 20:49:36 -0500

Hi!  The attached patch enables Mutt 1.13's new support for Autocrypt:
<http://www.mutt.org/doc/manual/#autocryptdoc>

Cheers!

-- 
Ivan Vilata i Balaguer -- https://elvil.net/
From 52e44c98e3986b8330702c090a6b2e7246ee9a5a Mon Sep 17 00:00:00 2001
From: Ivan Vilata-i-Balaguer <[email-masked]>
Date: Mon, 13 Jan 2020 20:44:05 -0500
Subject: [PATCH] gnu: mutt: Enable Autocrypt support.

* gnu/packages/mail.scm (mutt)[inputs]: Add libidn2 and sqlite.
[arguments]<#:configure-flags>: Add "--enable-autocrypt", "--with-sqlite3" and
"--with-idn2".
---
 gnu/packages/mail.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 7d56949ae9..88c21a0e85 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -380,9 +380,11 @@ aliasing facilities to work just as they would on normal mail.")
      `(("cyrus-sasl" ,cyrus-sasl)
        ("gdbm" ,gdbm)
        ("gpgme" ,gpgme)
+       ("libidn2" ,libidn2)
        ("ncurses" ,ncurses)
        ("openssl" ,openssl)
-       ("perl" ,perl)))
+       ("perl" ,perl)
+       ("sqlite" ,sqlite)))
     (arguments
      `(#:configure-flags '("--enable-smtp"
                            "--enable-imap"
@@ -390,8 +392,11 @@ aliasing facilities to work just as they would on normal mail.")
                            "--enable-gpgme"
                            "--enable-hcache" ; for header caching
                            "--enable-sidebar"
+                           "--enable-autocrypt"
                            "--with-ssl"
                            "--with-sasl"
+                           "--with-sqlite3" ; required for Autocrypt
+                           "--with-idn2" ; recommended for Autocrypt
                            ;; so that mutt does not check whether the path
                            ;; exists, which it does not in the chroot
                            "--with-mailpath=/var/mail")))
-- 
2.24.1