Summary: SMTP "plugin" for MUAs
Summary(pl.UTF-8): "Wtyczka" SMTP dla klientów pocztowych (MUA)
Name: msmtp
-Version: 1.4.30
+Version: 1.8.14
Release: 1
License: GPL v3+
Group: Networking/Utilities
-Source0: http://downloads.sourceforge.net/msmtp/%{name}-%{version}.tar.bz2
-# Source0-md5: 4d32724a2b03f07aa6d4ea9d49367ad3
+Source0: https://marlam.de/msmtp/releases/%{name}-%{version}.tar.xz
+# Source0-md5: a1a35dd7cc053fca143a6886a1dea635
Patch0: %{name}-home_etc.patch
Source1: %{name}rc
-URL: http://msmtp.sourceforge.net/
+URL: https://marlam.de/msmtp/
+BuildRequires: autoconf
+BuildRequires: automake >= 1:1.11.1
+BuildRequires: gettext-tools
BuildRequires: gnutls-devel >= 1.2.0
BuildRequires: gsasl-devel
+BuildRequires: libidn-devel
+BuildRequires: libsecret-devel
BuildRequires: pkgconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%patch0 -p1
%build
-%configure
+%{__gettextize}
+%{__aclocal}
+%{__autoheader}
+%{__automake}
+%{__autoconf}
+%configure \
+ --disable-silent-rules \
+ --with-libgsasl \
+ --with-libidn \
+ --with-libsecret \
+ --with-tls=gnutls
%{__make}
%install