+TERMUX_PKG_SHA256=6030b6881b8168546756ab3a5e43628d8d564539b0476578e287775573a77438
+TERMUX_PKG_PATCHURL=http://patches.freeiz.com/alpine/patches/alpine-${TERMUX_PKG_VERSION}/maildir.patch.gz
+TERMUX_PKG_PATCHSHA256=1229ea9ec4e150dda1d2da866730a777148874e4667c54cd2c488101b5db8099
+# requires installing autopoint default docker image doesn't have that installed as yet.
+# adding huge patchsets to termux-packages repo is not optimal so we do it this way for now.
+termux_step_post_extract_package() {
+ local filename
+ filename=$(basename "$TERMUX_PKG_PATCHURL")
+ local file="$TERMUX_PKG_CACHEDIR/$filename"
+ termux_download "$TERMUX_PKG_PATCHURL" "$file" "$TERMUX_PKG_PATCHSHA256"
+ gunzip -c $file | patch -s -p1
+}