--- ./lisp/cus-start.el.orig	2020-07-27 23:21:49.000000000 +0200
+++ ./lisp/cus-start.el	2020-09-14 21:34:59.583435440 +0200
@@ -290,7 +290,7 @@
 			  "/tmp"))
 		     (t
 		      (or (getenv "TMPDIR") (getenv "TMP") (getenv "TEMP")
-			  "/tmp"))))
+			  "@TERMUX_PREFIX@/tmp"))))
 	      :initialize custom-initialize-delay)
 	     ;; fns.c
 	     (use-dialog-box menu boolean "21.1")