Wave scattering over uneven depth using the mild-slope equation