@@ -0,0 +1,25 @@
1+{stdenv, fetchurl, qt4, pkgconfig, hunspell}:
2+
3+stdenv.mkDerivation rec {
4+ name = "focuswriter-${version}";
5+ version = "1.5.3";
6+
7+ src = fetchurl {
8+ url = http://gottcode.org/focuswriter/focuswriter-1.5.3-src.tar.bz2;
9+ sha256 = "1i58jxbiy95ijf81g8c3gwxhcg3irzssna3wv7vhrd57g4lcfj0w";
10+ };
11+
12+ buildInputs = [ qt4 pkgconfig hunspell ];
13+
14+ configurePhase = "qmake PREFIX=/";
15+
16+ installPhase = "make install INSTALL_ROOT=$out";
17+
18+ meta = {
19+ description = "Simple, distraction-free writing environment";
20+ license = stdenv.lib.licenses.gpl2;
21+ maintainers = [ stdenv.lib.maintainers.madjar ];
22+ platforms = stdenv.lib.platforms.all;
23+ homepage = "http://gottcode.org/focuswriter/";
24+ };
25+}