In a saucepan, brown the onion and garlic in the oil. Season with salt and pepper. Add the almonds, sesame seeds, ancho and spices. Sauté for about 2 minutes. Add the remaining ingredients. Bring to a boil, reduce the heat and simmer gently, uncovered, about 20 minutes. Season with salt.