This video shows you how to add a built in hinge to your simple box design using InkScape.
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.