A shoreline model for breaking waves