# conditionals:
# --with slang: use slang library instead of ncurses
+# --with nntp: use VVV's NNTP patch
Summary: The Mutt Mail User Agent
Summary(de): Der Mutt Mail-User-Agent
Source1: %{name}.desktop
Source2: %{name}.png
Source3: %{name}.1.pl
+Source4: %{name}-nntp.config
Patch0: %{name}-home_etc.patch
Patch1: %{name}-forcedotlock.patch
Patch2: %{name}-muttbug-tmp.patch
%patch15 -p1
%patch16 -p1
%patch17 -p0
-#%patch18 -p1
+%{?_with_nntp:%patch18 -p1}
+%{?_with_nntp:cat %{SOURCE4} >> Muttrc.head.in}
%build
%{__gettextize}
--enable-mailtool \
--with-mixmaster \
--enable-pop \
- --enable-nntp \
+ %{?_with_nntp:--enable-nntp} \
--with-regex \
%{!?_without_sasl:--with-sasl} %{?_without_sasl:--without-sasl} \
--with-ssl \