%bcond_with esmtp # use esmtp patch
%bcond_with folder_column # build with folder_column patch
%bcond_without sasl # don't use sasl
-#%%bcond_without home_etc # don't use home_etc
+%bcond_without home_etc # don't use home_etc
#
Summary: The Mutt Mail User Agent
Summary(de): Der Mutt Mail-User-Agent
Summary(tr): Mutt elektronik posta programý
Summary(uk): ðÏÛÔÏ×Á Ë̦¤ÎÔÓØËÁ ÐÒÏÇÒÁÍÁ Mutt
Name: mutt
-Version: 1.5.11
+Version: 1.5.12
Release: 0.1
Epoch: 6
License: GPL
Group: Applications/Mail
Source0: ftp://ftp.mutt.org/mutt/devel/%{name}-%{version}.tar.gz
-# Source0-md5: 00e6f8f7c37d4840e5e30583ebee21ce
+# Source0-md5: 57196c816211a72900fdc54341eb0132
Source1: %{name}.desktop
Source2: %{name}.png
Source3: %{name}.1.pl
Patch15: %{name}-po.patch
Patch16: %{name}-vvv.nntp.patch
Patch17: %{name}-esmtp.patch
-#Patch18: %{name}-home_etc.patch
-# if some fuctionality is still missing, patch must be rewritten
+Patch18: %{name}-home_etc.patch
#PatchXXX: %{name}-pgp_hook.patch
URL: http://www.mutt.org/
BuildRequires: autoconf
BuildRequires: automake
%{?with_sasl:BuildRequires: cyrus-sasl-devel >= 2.1.0}
+BuildRequires: db-devel
%{?with_home_etc:BuildRequires: home-etc-devel >= 1.0.8}
BuildRequires: gettext-devel
BuildRequires: gpgme-devel >= 1:1.0.0
%{?with_esmtp:BuildRequires: libesmtp-devel}
Requires: iconv
Requires: mailcap
-#%{?with_home_etc:Requires: home-etc >= 1.0.8}
+%{?with_home_etc:Requires: home-etc >= 1.0.8}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define specflags_ia32 -fomit-frame-pointer
%patch15 -p1
%{?with_nntp:%patch16 -p1}
%{?with_esmtp:%patch17 -p1}
-#%{?with_home_etc:%patch18 -p1}
+%{?with_home_etc:%patch18 -p1}
# force regeneration (manual.sgml is modified by some patches)
rm -f doc/{manual*.html,manual.txt}