diff --git a/nano/.footprint b/nano/.footprint
index 663f2c550..e90ce9d4d 100644
--- a/nano/.footprint
+++ b/nano/.footprint
@@ -19,11 +19,17 @@ drwxr-xr-x	root/root	usr/share/nano/
 -rw-r--r--	root/root	usr/share/nano/changelog.nanorc
 -rw-r--r--	root/root	usr/share/nano/cmake.nanorc
 -rw-r--r--	root/root	usr/share/nano/css.nanorc
--rw-r--r--	root/root	usr/share/nano/debian.nanorc
 -rw-r--r--	root/root	usr/share/nano/default.nanorc
 -rw-r--r--	root/root	usr/share/nano/elisp.nanorc
--rw-r--r--	root/root	usr/share/nano/fortran.nanorc
--rw-r--r--	root/root	usr/share/nano/gentoo.nanorc
+-rw-r--r--	root/root	usr/share/nano/email.nanorc
+drwxr-xr-x	root/root	usr/share/nano/extra/
+-rw-r--r--	root/root	usr/share/nano/extra/ada.nanorc
+-rw-r--r--	root/root	usr/share/nano/extra/debian.nanorc
+-rw-r--r--	root/root	usr/share/nano/extra/fortran.nanorc
+-rw-r--r--	root/root	usr/share/nano/extra/gentoo.nanorc
+-rw-r--r--	root/root	usr/share/nano/extra/haskell.nanorc
+-rw-r--r--	root/root	usr/share/nano/extra/povray.nanorc
+-rw-r--r--	root/root	usr/share/nano/extra/spec.nanorc
 -rw-r--r--	root/root	usr/share/nano/go.nanorc
 -rw-r--r--	root/root	usr/share/nano/groff.nanorc
 -rw-r--r--	root/root	usr/share/nano/guile.nanorc
@@ -34,8 +40,7 @@ drwxr-xr-x	root/root	usr/share/nano/
 -rw-r--r--	root/root	usr/share/nano/lua.nanorc
 -rw-r--r--	root/root	usr/share/nano/makefile.nanorc
 -rw-r--r--	root/root	usr/share/nano/man.nanorc
--rw-r--r--	root/root	usr/share/nano/mgp.nanorc
--rw-r--r--	root/root	usr/share/nano/mutt.nanorc
+-rw-r--r--	root/root	usr/share/nano/markdown.nanorc
 -rw-r--r--	root/root	usr/share/nano/nanohelp.nanorc
 -rw-r--r--	root/root	usr/share/nano/nanorc.nanorc
 -rw-r--r--	root/root	usr/share/nano/nftables.nanorc
@@ -45,13 +50,11 @@ drwxr-xr-x	root/root	usr/share/nano/
 -rw-r--r--	root/root	usr/share/nano/perl.nanorc
 -rw-r--r--	root/root	usr/share/nano/php.nanorc
 -rw-r--r--	root/root	usr/share/nano/po.nanorc
--rw-r--r--	root/root	usr/share/nano/postgresql.nanorc
--rw-r--r--	root/root	usr/share/nano/pov.nanorc
 -rw-r--r--	root/root	usr/share/nano/python.nanorc
 -rw-r--r--	root/root	usr/share/nano/ruby.nanorc
 -rw-r--r--	root/root	usr/share/nano/rust.nanorc
 -rw-r--r--	root/root	usr/share/nano/sh.nanorc
--rw-r--r--	root/root	usr/share/nano/spec.nanorc
+-rw-r--r--	root/root	usr/share/nano/sql.nanorc
 -rw-r--r--	root/root	usr/share/nano/tcl.nanorc
 -rw-r--r--	root/root	usr/share/nano/tex.nanorc
 -rw-r--r--	root/root	usr/share/nano/texinfo.nanorc
diff --git a/nano/.signature b/nano/.signature
index ec31bd713..edf39dc67 100644
--- a/nano/.signature
+++ b/nano/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/YLB8Q3sbGGkulyTkkwIm8u7miq+nI4yi6568/foXFEZuU6JujCu/b8eMlcj+5Girzo7GAGszV1V3QKXzrhYJwk=
-SHA256 (Pkgfile) = cd8bfe3a90071fb1936cfe682af346c96c18d73806d1345051b97d01d66ffa19
-SHA256 (.footprint) = 6e65065e8bbaadfad31d89a3ec1820c7408848209b67edc34c5d1643df89ac1e
-SHA256 (nano-4.9.3.tar.xz) = 6e3438f033a0ed07d3d74c30d0803cbda3d2366ba1601b7bbf9b16ac371f51b4
+RWSE3ohX2g5d/b5NaAYrGJHXRYZU8wEmRZBTZCXlsx/gwXr9eowh1PkSup+OdmlYLh1VBsYAmWRLRFwkPOOR9Ct8oPe5hWPJ2wE=
+SHA256 (Pkgfile) = 395746426a963fce97c2777369bd58263707c28e314f19292ffe89fccc863ceb
+SHA256 (.footprint) = 7c6884949784a43d75f82576194dbb529b7538192fba0df60e8ac09c104330ad
+SHA256 (nano-5.0.tar.xz) = 7c0d94be69cd066f20df2868a2da02f7b1d416ce8d47c0850a8bd270897caa36
diff --git a/nano/Pkgfile b/nano/Pkgfile
index 125de2715..0748635d3 100644
--- a/nano/Pkgfile
+++ b/nano/Pkgfile
@@ -4,7 +4,7 @@
 # Depends on:  file ncurses bzip2 xz
 
 name=nano
-version=4.9.3
+version=5.0
 release=1
 source=(https://www.nano-editor.org/dist/v${version%%.*}/$name-$version.tar.xz)