# - update/drop -imap_recent.patch
#
# Conditional build:
+%bcond_without autocrypt # disable autocrypt support
%bcond_with slang # use slang library instead of ncurses
%bcond_with nntp # use VVV's NNTP patch
%bcond_with folder_column # build with folder_column patch
Summary(tr.UTF-8): Mutt elektronik posta programı
Summary(uk.UTF-8): Поштова клієнтська програма Mutt
Name: mutt
-Version: 2.0.6
+Version: 2.0.7
Release: 1
Epoch: 6
License: GPL v2+
Group: Applications/Mail
Source0: ftp://ftp.mutt.org/pub/mutt/%{name}-%{version}.tar.gz
-# Source0-md5: 585072c134ac5cd9e264187685dcd4ae
+# Source0-md5: ba33c54a11ccd409aacb16039d36ddd2
Source1: %{name}.desktop
Source2: %{name}.png
Source3: %{name}.1.pl
%{?with_gdbm:BuildRequires: gdbm-devel}
BuildRequires: gettext-tools
BuildRequires: gpgme-devel >= 1:1.4.0
+%{?with_autocrypt:BuildRequires: gpgme-devel >= 1:1.8.0}
%{?with_home_etc:BuildRequires: home-etc-devel >= 1.0.8}
BuildRequires: libgpg-error-devel >= 1.33
BuildRequires: libidn-devel
BuildRequires: openssl-devel >= 0.9.7d
%{?with_qdbm:BuildRequires: qdbm-devel}
%{?with_slang:BuildRequires: slang-devel}
+%{?with_autocrypt:BuildRequires: sqlite3-devel >= 3.20}
%{?with_tokyocabinet:BuildRequires: tokyocabinet-devel}
Requires: gpgme >= 1:1.4.0
%{?with_home_etc:Requires: home-etc-lib >= 1.0.8}
--enable-pop \
--enable-sidebar \
--enable-smtp \
+ %{?with_autocrypt:--with-sqlite3 --enable-autocrypt} \
%{?with_bdb:--with-bdb=/usr} \
%{!?with_slang:--with-curses} \
--with-docdir=%{_docdir}/%{name} \
%{_docdir}/%{name}
%{_desktopdir}/mutt.desktop
%{_pixmapsdir}/mutt.png
-#%{_mandir}/man1/flea.1*
%{_mandir}/man1/mutt*.1*
%{_mandir}/man1/pgpewrap.1*
%{_mandir}/man1/smime_keys.1*