clone of https://svn.grrrr.org/ext/trunk/flext