-Group(de): X11/Applikationen
-Group(pl): X11/Aplikacje
-Source0: http://www.theochem.kth.se/~pawsa/balsa/%{name}-%{version}.tar.gz
-BuildRequires: bison
-BuildRequires: docbook-dsssl
-BuildRequires: docbook-gnome-sgml
-BuildRequires: gdk-pixbuf-devel
-BuildRequires: gettext-devel
-BuildRequires: gnome-libs-devel >= 1.2.0
-BuildRequires: gnome-print-devel
-BuildRequires: gtkhtml-devel
-BuildRequires: flex
+Source0: http://balsa.gnome.org/%{name}-%{version}.tar.bz2
+# Source0-md5: 851db68728ed9adea615eb2f249fa1ee
+Patch0: %{name}-locale-names.patch
+Patch1: %{name}-desktop.patch
+Patch2: %{name}-iconv-in-libc.patch
+URL: http://balsa.gnome.org/
+BuildRequires: aspell-devel >= 0.50
+BuildRequires: autoconf >= 2.52
+BuildRequires: automake
+%{?with_esmtp:BuildRequires: libesmtp-devel}
+BuildRequires: libgnomeprintui-devel >= 1.106.0
+%{?with_gpgme:BuildRequires: gpgme-devel >= 0.4.3}
+BuildRequires: gtk+2-devel >= 2.2.0
+# gtkhtml 3.0 is preferred over libgtkhtml-2* if present, but we have gtkhtml 3.1 now
+%{?with_gtkhtml:BuildRequires: libgtkhtml-devel >= 2.0}
+%{?with_gtkhtml:BuildConflicts: gtkhtml-devel < 3.1}