diff --git a/srcpkgs/rawtherapee/rawtherapee.rshlibs b/srcpkgs/rawtherapee/rawtherapee.rshlibs
index f1629d938dc..5c9307b50b9 100644
--- a/srcpkgs/rawtherapee/rawtherapee.rshlibs
+++ b/srcpkgs/rawtherapee/rawtherapee.rshlibs
@@ -1,3 +1,4 @@
+libexpat.so.1
 libjpeg.so.8
 libtiff.so.5
 libgobject-2.0.so.0
diff --git a/srcpkgs/rawtherapee/template b/srcpkgs/rawtherapee/template
index 600816264b9..114ba657061 100644
--- a/srcpkgs/rawtherapee/template
+++ b/srcpkgs/rawtherapee/template
@@ -1,17 +1,17 @@
 # Template file for 'rawtherapee'
 pkgname=rawtherapee
-version=4.0.8
-revision=2
+version=4.0.9
+revision=1
 build_style=cmake
 depends="desktop-file-utils hicolor-icon-theme"
-makedepends="cmake pkg-config libpng-devel>=1.5.10 gtkmm2-devel lcms2-devel libiptcdata-devel libgomp-devel mercurial"
-
+makedepends="cmake pkg-config libpng-devel>=1.5.10 gtkmm2-devel
+ lcms2-devel libiptcdata-devel libgomp-devel mercurial"
 short_desc="Free RAW converter and digital photo processing software"
 maintainer="Juan RP <xtraeme@gmail.com>"
 homepage="http://rawtherapee.com/"
 license="GPL-3"
-distfiles="http://rawtherapee.googlecode.com/files/rawtherapee-source-$version.tar.xz"
-checksum=b0cbeac634d927b6afc0527434b24304b9d1ab2a681915933a872cf1a27f39cd
+distfiles="http://rawtherapee.googlecode.com/files/${pkgname}-${version}.tar.xz"
+checksum=4ad49b5d3aae9a178b1cfa5efca653982f0a52763ddd37f89500e8fedfb187d2
 long_desc="
  RawTherapee is used to adjust some of the most often changed parameters when
  optimizing digital images. A normal user often just wants to adjust the white