--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>hasufell@gentoo.org</email>
+ <name>Julian Ospald</name>
+ </maintainer>
+ <use>
+ <flag name='gnome'>Enable support for the freedesktop.org
+ Secret Service API via <pkg>app-crypt/libsecret</pkg>.
+ This does not control the gui!
+ </flag>
+ <flag name='gui'>Whether to build the QT gui. Highly recommended.
+ </flag>
+ <flag name='kde'>Enable support for KDE, e.g. via
+ <pkg>kde-base/kwalletd</pkg>. This does not control the gui,
+ but NEEDS GUI ENABLED!
+ </flag>
+ <flag name='udev'>Whether udev will be consulted when deciding
+ if a volume is system or not.
+ </flag>
+ </use>
+</pkgmetadata>
--- /dev/null
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit multilib cmake-utils
+
+DESCRIPTION="Front end to cryptsetup"
+HOMEPAGE="http://mhogomchungu.github.io/zuluCrypt/"
+SRC_URI="https://github.com/mhogomchungu/zuluCrypt/releases/download/${PV}/zuluCrypt-${PV}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnome +gui kde udev"
+
+CDEPEND="
+ dev-libs/libgcrypt:0
+ sys-apps/util-linux
+ sys-fs/cryptsetup
+ gnome? ( app-crypt/libsecret )
+ gui? (
+ dev-libs/libpwquality
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ kde? (
+ kde-base/kdelibs:4
+ kde-apps/kwalletd:4
+ )
+ )
+"
+RDEPEND="${CDEPEND}
+ udev? ( virtual/udev )"
+DEPEND="${CDEPEND}
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use udev UDEVSUPPORT)
+ -DLIB_SUFFIX="$(get_libdir)"
+ $(cmake-utils_use !gnome NOGNOME)
+ $(cmake-utils_use !gui NOGUI)
+ # WITH_PWQUALITY has no effect without gui
+ $(cmake-utils_use gui WITH_PWQUALITY)
+ # KDE has no effect without gui
+ $(usex gui "$(cmake-utils_use !kde NOKDE)" "-DNOKDE=TRUE")
+ )
+
+ cmake-utils_src_configure
+}