sanction

WIP

Work in progress port of https://github.com/demianbrecht/sanction