We report on our ongoing project to determine the leading-order hadronic vacuum polarisation contribution to the muon $g-2$, using ensembles with $N_f=2+1$ flavours of O($a$) improved Wilson quarks generated by the CLS effort, with pion masses down to the physical value. We employ O($a$) improve