diff --git a/app-emulation/nemu/Manifest b/app-emulation/nemu/Manifest
index 657fde8..d611f73 100644
--- a/app-emulation/nemu/Manifest
+++ b/app-emulation/nemu/Manifest
@@ -1 +1,2 @@
DIST nemu-2.6.0_p20210824.tar.gz 145793 BLAKE2B 6b4752cd8c5c7db83eff69fa8fa867d18ee0cfd36ebfbacf86626bbf996abc91ea6cacafb4b6a9fe4ab4c699a9c4366c04d1d84161712e3d8b742728d0dab6f8 SHA512 1b2d3abc9bf14d8276f90a6c4926106dee943ef8caf1575ae534f106c8c4a70b202ecb65f0e1bbd0bf6b1ddfb748c8ed36ccaee7fea71bdc4657669dc6a38f36
+DIST nemu-3.0.0.tar.gz 151091 BLAKE2B 67a1d5d28da33107d65ed192c6b996a685b780ce5c3942ef2d7c1db471d38c8fc4c1c5f97228544802791751713d29443c3ea1ab34341103f3a43d4a3a1fec14 SHA512 fe7dc6410a86032cd83bb705ec2666dc5c5563543d092cd91390869206b7006676c4ff11213186bac54da1aa1702f664f1f0a65438eb77fb4f8f84fee97c6d86
diff --git a/app-emulation/nemu/metadata.xml b/app-emulation/nemu/metadata.xml
index 4a5bcc1..59ab228 100644
--- a/app-emulation/nemu/metadata.xml
+++ b/app-emulation/nemu/metadata.xml
@@ -1,15 +1,16 @@
-
- holgersson@posteo.de
- Nils Freydank
-
-
+
+ holgersson@posteo.de
+ Nils Freydank
+
+
diff --git a/app-emulation/nemu/nemu-3.0.0.ebuild b/app-emulation/nemu/nemu-3.0.0.ebuild
new file mode 100644
index 0000000..5b07e11
--- /dev/null
+++ b/app-emulation/nemu/nemu-3.0.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake linux-info
+
+MY_PV="${PV/_rc/-RC}"
+COMMIT_ID="a9846ea1dbb186188bde72026a932f32831dc85e"
+
+DESCRIPTION="ncurses interface for QEMU"
+HOMEPAGE="https://github.com/nemuTUI/nemu"
+
+if [[ ${PV} == *9999 ]]; then
+ EGIT_REPO_URI="https://github.com/nemuTUI/${PN}.git"
+ inherit git-r3
+else
+ if [[ ${PV} == *_p* ]]; then
+ SRC_URI="https://github.com/nemuTUI/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${COMMIT_ID}"
+ else
+ SRC_URI="https://github.com/nemuTUI/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/$PN-${MY_PV}/"
+ fi
+fi
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="dbus network-map +ovf remote-control spice +vnc-client"
+
+RDEPEND="
+ app-emulation/qemu[vnc,virtfs,spice?]
+ dev-db/sqlite:3=
+ >=sys-libs/ncurses-6.2_p20210619:0=
+ virtual/libusb:1
+ virtual/libudev:=
+ dbus? ( sys-apps/dbus )
+ network-map? ( media-gfx/graphviz[svg] )
+ ovf? (
+ dev-libs/libxml2:2
+ app-arch/libarchive
+ )
+ remote-control? (
+ dev-libs/openssl:=
+ )
+ spice? ( app-emulation/virt-viewer[spice] )
+ vnc-client? ( net-misc/tigervnc )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-devel/gettext"
+
+pkg_pretend() {
+ if use kernel_linux; then
+ if ! linux_config_exists; then
+ eerror "Unable to check your kernel"
+ else
+ CONFIG_CHECK="~VETH ~MACVTAP"
+ ERROR_VETH="You will need the Virtual ethernet pair device driver compiled"
+ ERROR_VETH+=" into your kernel or loaded as a module to use the"
+ ERROR_VETH+=" local network settings feature."
+ ERROR_MACVTAP="You will also need support for MAC-VLAN based tap driver."
+ check_extra_config
+ fi
+ fi
+}
+
+src_configure() {
+ # -DNM_WITH_NCURSES: Don't build the embbeded ncurses.
+ # -DNM_WITH_QEMU: Don't build the embbeded qemu.
+ local mycmakeargs=(
+ -DNM_WITH_UNICODE_GLYPHS=on
+ -DNM_WITH_NCURSES=off
+ -DNM_WITH_DBUS=$(usex dbus)
+ -DNM_WITH_NETWORK_MAP=$(usex network-map)
+ -DNM_WITH_OVF_SUPPORT=$(usex ovf)
+ -DNM_WITH_QEMU=off
+ -DNM_WITH_SPICE=$(usex spice)
+ -DNM_WITH_REMOTE=$(usex remote-control)
+ -DNM_WITH_VNC_CLIENT=$(usex vnc-client)
+ )
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ elog "For non-root usage execute script:"
+ elog "/usr/share/nemu/scripts/setup_nemu_nonroot.sh linux "
+ elog "and add udev rule:"
+ elog "cp /usr/share/nemu/scripts/42-net-macvtap-perm.rules /etc/udev/rules.d"
+ elog "Afterwards reboot or reload udev with"
+ elog "udevadm control --reload-rules && udevadm trigger"
+}