Nethack flatpak

Project information: Nethack - a rogue-like game

Name: Nethack
Homepage: http://nethack.org
License: NETHACK GENERAL PUBLIC LICENSE
Upstream has been contacted: No

I’ve managed to build it with flatpak build and it runs on the steam deck, but I’m not an expert (first attempt) in flatpak so I either need some help or I need someone who can do it much easier than me. There’s some quirks to building it but I’m happy to share those.