+EAPI="5"
+
+inherit games
+
+DESCRIPTION="Ancient Domains Of Mystery, one of the most successful roguelikes"
+HOMEPAGE="http://www.adom.de/"
+SRC_URI="x86? ( http://www.ancardia.com/download/adom_linux_debian_32_${PV}.tar.gz )
+ amd64? ( http://www.ancardia.com/download/adom_linux_debian_64_${PV}.tar.gz )"
+RESTRICT="mirror"
+
+LICENSE="adom"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+
+RDEPEND="sys-libs/ncurses:5"
+
+QA_PREBUILT="*/adom"
+
+S=${WORKDIR}/${PN}
+
+src_install() {
+ dogamesbin adom
+
+ prepgamesdirs
+}