--- /dev/null
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Cross-platform Direct Connect client"
+HOMEPAGE="https://github.com/airdcpp-web/airdcpp-webclient"
+SRC_URI="https://github.com/airdcpp-web/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="+webui"
+
+RDEPEND="
+ dev-libs/geoip
+ app-arch/bzip2
+ sys-libs/zlib
+ dev-libs/openssl:0
+ dev-cpp/tbb
+ virtual/libiconv
+ net-libs/miniupnpc
+ dev-libs/leveldb
+ dev-cpp/websocketpp
+ dev-libs/boost
+"
+DEPEND="
+ net-libs/nodejs
+ ${RDEPEND}
+"
+PDEPEND="webui? ( www-apps/airdcpp-webui )"
+
+src_configure() {
+ local mycmakeargs=(
+ -DINSTALL_WEB_UI=OFF
+ -DLIB_INSTALL_DIR=$(get_libdir)
+ )
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ elog "Run 'airdcppd --configure' to set up ports and authentication"
+ fi
+}
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sautier.louis@gmail.com</email>
+ <name>Louis Sautier</name>
+ <description>Proxied maintainer; set to assignee in all bugs</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">airdcpp-web/airdcpp-webclient</remote-id>
+ <bugs-to>https://github.com/airdcpp-web/airdcpp-webclient/issues</bugs-to>
+ </upstream>
+ <longdescription lang="en">
+ AirDC++ Web Client is a cross-platform peer-to-peer file sharing client which allows sharing files with groups of people.
+ </longdescription>
+ <use>
+ <flag name="webui">Enable the Web UI</flag>
+ </use>
+</pkgmetadata>