{kdePackage, cmake, qt4, perl, shared_mime_info, kdelibs, automoc4, qca2
, kdebindings, twisted, python, pyqt4, sip, makeWrapper }:

kdePackage {
  pn = "kdegames";
  v = "4.5.0";

# TODO: ggz
  buildInputs = [ cmake qt4 perl shared_mime_info kdelibs automoc4 qca2
    kdebindings twisted python pyqt4 sip makeWrapper ];

  postInstall = ''
    wrapProgram $out/bin/kajongg --set PYTHONPATH $PYTHONPATH
    wrapProgram $out/bin/kajonggserver --set PYTHONPATH $PYTHONPATH'';

  meta = {
    description = "KDE Games";
    license = "GPL";
  };
}
