Deconfinement, chiral transition and localisation in a QCD-like model