{ chmlib, djvulibre, ebook_tools, kde, kdelibs, libspectre, popplerQt4, qca2
, qimageblitz, libtiff, kactivities, pkgconfig, libkexiv2 }:

kde {

# TODO: package activeapp, qmobipocket

  buildInputs = [ kdelibs chmlib djvulibre ebook_tools libspectre popplerQt4
                  qca2 qimageblitz libtiff kactivities libkexiv2 ];

  nativeBuildInputs = [ pkgconfig ];

  meta = {
    description = "Okular, the KDE document viewer";
    license = "GPLv2";
  };
}
